﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Dog dog = new Dog();
            dog.Name = "大黄";
            dog.PersonName = "坏人";
            dog.Color = "红色";
            dog.Action();
            Console.WriteLine("\n{0}狗喜欢{1}\n",dog.Name,dog.Color);


            Fish fish = new Fish();
            fish.Name = "金鱼";
            fish.Color = "金色";
            fish.Action();




        }
    }
}
